package com.st.swagger.mapper;

import com.st.swagger.entity.Carousel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CarouselMapper {
    List<Carousel> findAll();

    Carousel findById(Long id);

    int insertCarousel(Carousel carousel);

    int updateCarousel(Carousel carousel);

    int deleteCarousel(Long id);
}
